/**
* @file live_prot.h in LiveGraph
* @author linfe
* @comment
* Create on 2022/9/25 22:38
* @version 1.0
**/

#ifndef LIVEGRAPH_SRC_PROTOCOL_LIVE_PROT_H_
#define LIVEGRAPH_SRC_PROTOCOL_LIVE_PROT_H_

#include <cstdint>

class DataHandle {
public:
    DataHandle();
    ~DataHandle();
    uint32_t updateByte(uint8_t dat);
    uint8_t *buffer();

private:
    static const uint32_t max_msg_length = 1024;
    uint8_t data[max_msg_length];
    /* 统计信息*/
private:

};



#endif //LIVEGRAPH_SRC_PROTOCOL_LIVE_PROT_H_
